package com.mentaleye.service.impl;

import com.mentaleye.dal.dao.AutoFormDataSourceDao;
import com.mentaleye.service.AutoFormDataSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AutoFormDataSourceServiceImpl implements AutoFormDataSourceService {

    @Autowired
    AutoFormDataSourceDao   autoFormDataSourceDao;
    @Override
    public List<Map<String, Object>> explanSql(String sql) {
        return autoFormDataSourceDao.executeSql(sql);
    }
}
